﻿@model IEnumerable<TaoNiuOA.Models.UserGroup>
@{
    ViewBag.Title = "职位管理";
    Layout = "~/Views/Shared/_AdminLayout.cshtml";
}
<fieldset>
    <legend><a href="../Department/index">部门管理</a> | 职位管理</legend>
    <p>
        @Html.ActionLink("添加职位", "Create")
    </p>
    <table>
        <tr>
            <th>
                职位
            </th>
            <th>
                岗位工资
            </th>
            <th>
                基本绩效
            </th>
            <th>
                排序
            </th>
            <th>
                操作
            </th>
        </tr>
        @foreach (var item in Model)
        {
            <tr>
                <td>
                    @Html.DisplayFor(modelItem => item.GroupName)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.JobMoney)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.BasePoint)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.Sort)
                </td>
                <td>
                    @Html.ActionLink("编辑", "Edit", new { id = item.UserGroupID }) |
                    @Html.ActionLink("删除", "Delete", new { id = item.UserGroupID })
                </td>
            </tr>
        }
    </table>
</fieldset>
